package com.prs.crm.service.document.impl;

import java.util.Collection;
import java.util.List;

import com.prs.crm.dao.document.ThemeDao;
import com.prs.crm.domain.document.Theme;
import com.prs.crm.domain.document.ThemeType;
import com.prs.crm.service.document.ThemeService;
import com.prs.crm.service.impl.BaseServiceImpl;

public class ThemeServiceImpl  extends BaseServiceImpl<Theme, ThemeDao> implements ThemeService{

	@Override
	public List<Theme> getAllTheme() {
		return this.getDao().getAllTheme();
	}

	@Override
	public Collection<Theme> getRootTheme(ThemeType themeType) {
		return this.getDao().getRootTheme(themeType);
	}

}
